package xhwl.hmo.mall.bean;

import android.support.annotation.NonNull;

/**
 * Created by admin on 2017-11-07.
 */

public class CommentPicInfo implements Comparable<CommentPicInfo>{
    public  enum Status{Defaule,Uploading,Success,Fail}
    public int position;
    public String saveUrl;
    public String url;
    public int percent;//上传进度
    public Status status=Status.Defaule;
    @Override
    public int compareTo(@NonNull CommentPicInfo o) {
        if(this.position>o.position)
            return 1;
        else if(this.position<o.position)
            return -1;
        return 0;
    }
}
